Skip to content
This repository has been archived by the owner on Jan 11, 2023. It is now read-only.

Introducing JavaArray class #1

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Introducing JavaArray class #1

wants to merge 2 commits into from

Conversation

nikreiman
Copy link
Contributor

@kaaes I found the branch we were talking about, it was on my home workstation. The general idea seems sound, however the tests for ByteArray and ShortArray are disabled (I don't remember exactly why they are broken, but apparently they are).

Looking at the implementation of this class, it seems that it will only work for primitive types. However I think that we could subclass this and use std::vector as the storage container without too much trouble. Let's talk more about this next time we're at the office.

Now ByteArray and ShortArray can be replaced with a single templated
superclass. Goodbye duplicated code!

Tests for ByteArray/ShortArray are broken by this change and disabled.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant